package yun.http.rechochoku.request;

import yun.common.http.request.Request;
import yun.common.http.response.IResponseFactory;
import yun.http.rechochoku.response.BaseResponseFactory;
import android.content.Context;

public abstract class BaseRequest extends Request {
	public static final String DOMAIN_RELEASE = "http://www.release.com";
	public static final String DOMAIN_DEVELOP = "http://www.develop.com";

	private Context mContext;
	private String mDomain;
	protected BaseRequest(Context context) {
		super();
		mContext = context;

		mDomain = DOMAIN_RELEASE;

		addHeader("", "");
		addHeader("", "");
		addHeader("", "");
		addHeader("", "");
		addHeader("", "");
		addHeader("", "");
	}

	protected String getDomain() {
		return mDomain;
	}

	@Override
	public IResponseFactory getResponseFactory() {
		return new BaseResponseFactory();
	}

}
